home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Unix
/
CNews
/
Source
/
libstdio
/
fputs.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1986-01-20
|
161 b
|
13 lines
#include <stdio.h>
fputs(s, fp)
register char *s;
register FILE *fp;
{
unsigned len = strlen(s);
if (fwrite(s, 1, len, fp) < len)
return EOF;
return 0;
}